Carbon


PBShareAsync

Header: Files.h Carbon status: Supported

Establishes a local volume or directory as a share point.

OSErr PBShareAsync (
    HParmBlkPtr paramBlock
);
Parameter descriptions
paramBlock

A pointer to a basic HFS parameter block.

function result

A result code.

DISCUSSION

The relevant fields of the parameter block are:

The PBShareAsync function makes the directory specified by the ioNamePtr and ioDirID fields a share point.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)